// import Login from './login/Pager.vue'
// import Register from './register/Pager.vue'

// export default (Vue) => {
//   Vue.component('AppLogin', Login)
//   Vue.component('AppRegister', Register)
// }

import Login from './login/index'
import Register from './register/index'

const componentList = [Login, Register]

export default {
  install: (Vue) => {
    return componentList.map(rec => {
      Vue.component(rec.name, rec.compontent)
      Vue.prototype.actionName = () => { }
    })
  }
}
